const opts = {
  color: [
    "#1890FF",
    "#91CB74",
    "#FAC858",
    "#EE6666",
    "#73C0DE",
    "#3CA272",
    "#FC8452",
    "#9A60B4",
    "#ea7ccc",
  ],
  padding: [0, 30, 0, 15],
  enableScroll: false,
  dataLabel: false,
  dataPointShape: false,
  legend: {
    position: "top",
    float: "right",
    margin: 20,
  },
  xAxis: {
    title: "月份",
    disableGrid: true,
  },
  yAxis: {
    showTitle: true,
    gridType: "dash",
    dashLength: 2,
    data: [
      {
        position: "left",
        title: "金额",
      },
    ],
  },
  extra: {
    area: {
      type: "curve",
      opacity: 0.2,
      addLine: true,
      width: 2,
      gradient: true,
      activeType: "none",
    },
  },
};

export { opts };
